#!/bin/bash

function proxy_on () {
    echo -e "\033[36mlinux proxy => 127.0.0.1:10809 \033[0m"
    export ALL_PROXY="127.0.0.1:10809"
    export HTTP_PROXY="127.0.0.1:10809"
    export HTTPS_PROXY="127.0.0.1:10809"
}

function proxy_off () {
    echo -e "\033[36mlinux proxy => \033[0m"
    unset ALL_PROXY
    unset HTTP_PROXY
    unset HTTPS_PROXY
}
